{% extends 'group_base.html' %}

{% block theme %}
处理请求信息
{% endblock %}

{% block topic_content %}
<h2>友情小组申请 ······</h2>
{% if group_applies %}
{% for group_apply in group_applies %}
<div class="ul" style="margin-bottom:6px;"></div>
<div class="clist2">
	<a href="/group/gr/{{group_apply.group_from.id}}/">
		<img src="{{group_apply.group_from.logo}}" align="left" style="margin:0 20px 0 10px;" alt={{group_apply.group_from.name}}>
	</a>
	<div class="pl" style="float:right;">
		申请成为&nbsp;<a href="/group/gr/{{group.id}}/">{{group.name}}</a>&nbsp;的友情小组
		&nbsp;&nbsp;
		<a href="/group/accept_friend_group/{{group.id}}/{{group_apply.group_from.id}}/accept/">接受</a>
		&nbsp;<a href="/group/accept_friend_group/{{group.id}}/{{group_apply.group_from.id}}/ignore/">忽略</a>
	</div>
	<span class="pl2">
		<a href="/group/gr/{{ group_apply.group_from.id }}/">{{ group_apply.group_from.name }}</a>
	</span>
</div>
<br clear="all">
{% endfor %}
{% else %}
（无）
{% endif %}

<h2 style="padding-top: 30px;">新成员申请 ······</h2>
{% if member_applies %}
{% for member_apply in member_applies %}
<div class="ul" style="margin-bottom:6px;"></div>
<div class="clist2">
	<a href="">
		<img src="/{{member_apply.member.image}}" align="left" style="margin:0 20px 0 10px;" alt={{member_apply.member.name}}>
	</a>
	<div class="pl" style="float:right;">
		申请成为&nbsp;<a href="/group/gr/{{group.id}}/">{{group.name}}</a>&nbsp;的成员
		&nbsp;&nbsp;
		<a href="/group/accept_member/{{group.id}}/{{member_apply.member.id}}/accept/">接受</a>
		&nbsp;<a href="/group/accept_member/{{group.id}}/{{member_apply.member.id}}/ignore/">忽略</a>
	</div>
	<span class="pl2">
		<a href="">{{ member_apply.member.name }}</a>
	</span>
</div>
<br clear="all">
{% endfor %}
{% else %}
（无）
{% endif %}

{% endblock %}

{% block aside %}

<div>
<p class="pl2">
	&gt;
	<a href="/group/gr/{{group.id}}/">回{{group.name}}小组</a>
</p>
</div>

{% endblock %}